package com.yu.crm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yu.crm.domain.pojo.WfActionInfo;
import com.yu.crm.domain.response.ActionConfRep;
import com.yu.crm.domain.response.NodeActionConfInfo;

import java.util.List;


/**
 * <p>
 * 工作流程表 服务类
 * </p>
 *
 * @author donnie-bin
 * @since 2019-10-08
 */
public interface WfActionInfoService extends IService<WfActionInfo> {

    /**
     * 通过actionId和nodeId获取statusId
     */
    Integer getStatus(Long combiId, String nodeId, int actionId);

    void saveActionList(NodeActionConfInfo req);

    ActionConfRep getCondition(String pnodeId, String nodeId, String appId);

    List<WfActionInfo> listByPid(String appId, String toString);
}
